package com.xiaoman.international.pojo;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Locale;
import java.util.Set;

@Data
@Accessors(chain = true)
public class BatchConvertDto {
    private Set<String> keys;
    private Object internationalType;
    private Locale locale;

    public BatchConvertDto() {
    }

    public BatchConvertDto(Set<String> keys, Object internationalType, Locale locale) {
        this.keys = keys;
        this.internationalType = internationalType;
        this.locale = locale;
    }

    public static BatchConvertDto of(Set<String> keys, Object internationalType, Locale locale) {
        return new BatchConvertDto(keys, internationalType, locale);
    }
}
